package model.dto;

import java.util.ArrayList;

import db.DAOFactory;

import model.ResourceType;

/**
 * 
 * Description: 用于输出对资源的操作权限进行设置的列表的DTO类。
 *  
 * @since  2009/3/4
 * @author ashen
 * 
 */
public class TypeList {
	private ArrayList<ResourceType> list;
	
	public TypeList() {
		list=DAOFactory.getResourceTypeDAO().findAll();
	}

	public TypeList(ArrayList<ResourceType> list) {
		this.list = list;
	}

	public ArrayList<ResourceType> getList() {
		return list;
	}

	public void setList(ArrayList<ResourceType> list) {
		this.list = list;
	}
}
